// CherryMerry ( Mikhail Tomilenko ), Reverse Entertainment, 2021-2024

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "Health.generated.h"

/**
 * 
 */
UCLASS()
class NIFESTGAME_API UHealth : public UUserWidget
{
	GENERATED_BODY()

protected:
	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UTextBlock* TextBlock_CurrentHealth;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UTextBlock* TextBlock_MaxHealth;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UProgressBar* ProgressBar_CurrentHealth;

public:
	virtual void UpdateWidgetInfo(float CurrentHealth, float MaxHealth);
};
